using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace SMS.Common.Entities
{
    public class SalesLog
    {
        private string storeID;
        [XmlElement("StoreId",Order=1)]
        public string StoreID
        {
            get { return storeID; }
            set { storeID = value; }
        }

        private string operationDate;
        [XmlElement("OperationDate",Order=2)]
        public string OperationDate
        {
            get { return operationDate; }
            set { operationDate = value; }
        }

        private decimal totalSales;
        [XmlElement("TotalSales",Order=3)]
        public decimal TotalSales
        {
            get { return totalSales; }
            set { totalSales = value; }
        }

        private int totalTC;
        [XmlElement("TotalTC",Order=4)]
        public int TotalTC
        {
            get { return totalTC; }
            set { totalTC = value; }
        }

        private decimal dinnerSales;
        [XmlElement("DinnerSales",Order=5)]
        public decimal DinnerSales
        {
            get { return dinnerSales; }
            set { dinnerSales = value; }
        }

        private int dinnerTC;
        [XmlElement("DinnerTC",Order=6)]
        public int DinnerTC
        {
            get { return dinnerTC; }
            set { dinnerTC = value; }
        }


        private decimal takeAwaySales;
        [XmlElement("TakeAwaySales",Order=7)]
        public decimal TakeAwaySales
        {
            get { return takeAwaySales; }
            set { takeAwaySales = value; }
        }

        private int takeAwayTC;
        [XmlElement("TakeAwayTC",Order=8)]
        public int TakeAwayTC
        {
            get { return takeAwayTC; }
            set { takeAwayTC = value; }
        }
	
        private decimal deliverySales;
        [XmlElement("DeliverySales",Order=9)]
        public decimal DeliverySales
        {
            get { return deliverySales; }
            set { deliverySales = value; }
        }
        private int deliveryTC;
        [XmlElement("DeliveryTC", Order = 10)]
        public int DeliveryTC
        {
            get { return deliveryTC; }
            set { deliveryTC = value; }
        }

        private float laborHour;
        [XmlElement("LaborHour",Order=11)]
        public float LaborHour
        {
            get { return laborHour; }
            set { laborHour = value; }
        }

        private int electricity;
        [XmlElement("Electricity",Order=12)]
        public int Electricity
        {
            get { return electricity; }
            set { electricity = value; }
        }

        private int water;
        [XmlElement("Water",Order=13)]
        public int Water
        {
            get { return water; }
            set { water = value; }
        }
        private int gas;
        [XmlElement("Gas",Order=14)]
        public int Gas
        {
            get { return gas; }
            set { gas = value; }        
        }

        private int p1;
        [XmlElement("Product1",Order=15)]
        public int P1
        {
            get { return p1; }
            set { p1 = value; }
        }

        private int p2;
        [XmlElement("Product2", Order = 16)]
        public int P2
        {
            get { return p2; }
            set { p2 = value; }
        }

        private int p3;
        [XmlElement("Product3", Order = 17)]
        public int P3
        {
            get { return p3; }
            set { p3 = value; }
        }

        private int p4;
        [XmlElement("Product4", Order = 18)]
        public int P4
        {
            get { return p4; }
            set { p4 = value; }
        }

        private int p5;
        [XmlElement("Product5", Order =19)]
        public int P5
        {
            get { return p5; }
            set { p5 = value; }
        }

        private int p6;
        [XmlElement("Product6", Order = 20)]
        public int P6
        {
            get { return p6; }
            set { p6 = value; }
        }

        private int p7;
        [XmlElement("Product7", Order = 21)]
        public int P7
        {
            get { return p7; }
            set { p7 = value; }
        }

        private int p8;
        [XmlElement("Product8", Order = 22)]
        public int P8
        {
            get { return p8; }
            set { p8 = value; }
        }

        private int p9;
        [XmlElement("Product9", Order = 23)]
        public int P9
        {
            get { return p9; }
            set { p9 = value; }
        }

        private int p10;
        [XmlElement("Product10", Order = 24)]
        public int P10
        {
            get { return p10; }
            set { p10 = value; }
        }

        private string operationReport;
        [XmlElement("OperationReport", Order = 25)]
        public string OperationReport
        {
            get { return operationReport; }
            set { operationReport = value; }
        }

        private string marketingReport;
        [XmlElement("MarketingReport", Order = 26)]
        public string MarketingReport
        {
            get { return marketingReport; }
            set { marketingReport = value; }
        }

        private string repairReport;
        [XmlElement("RepairReport", Order = 27)]
        public string RepairReport
        {
            get { return repairReport; }
            set { repairReport = value; }
        }

        private string eventReport;
        [XmlElement("EventReport", Order = 28)]
        public string EventReport
        {
            get { return eventReport; }
            set { eventReport = value; }
        }
    }
    public class OperationSalesLog
    {
        [XmlElement("SalesLog")]
        public SalesLog[] SalesLogs;
    }
}
